import { BaseService, Service, Permission } from '@/cool';

@Service('crm/relation')
export default class extends BaseService {
	@Permission('export')
	export(params) {
		return this.request({
			url: '/export',
			params: {
				...params
			}
		});
	}
	@Permission('channelList')
	channelList(params) {
		return this.request({
			url: '/channelList',
			params: {
				...params
			}
		});
	}
	@Permission('mainList')
	mainList(params) {
		return this.request({
			url: '/mainList',
			params: {
				...params
			}
		});
	}
}
